//
//  XJCommunitySectionHeaderView.h
//  XinJiangMall
//
//  Created by RaoBo on 2018/5/31.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^XJCommunitySectionHeaderViewFirstButtonBlock)(void);
typedef void(^XJCommunitySectionHeaderViewSecondButtonBlock)(void);

@interface XJCommunitySectionHeaderView : UICollectionReusableView

@property(nonatomic, copy) XJCommunitySectionHeaderViewFirstButtonBlock communtiySectionHeaderViewFirstButtonBlock;
@property(nonatomic, copy) XJCommunitySectionHeaderViewSecondButtonBlock communitySectionHeaderViewSecondButtonBlock;

/**
 配置区头的内容
 
 @param firstTitle 第一按钮标题
 @param secondTitle 第二个按钮标题 如果传nil 该按钮会被隐藏
 */
- (void)configureXJCommunitySectionHeaderViewHideSecondButton:(BOOL)hide
                                               WithFirsttitle:(NSString *)firstTitle
                                                secondTitle:(NSString *)secondTitle;


@end
